package com.wx.model;



/**
 * 返回信息
 * 
 * @author dingyaming
 *
 */
public class ResObject {
	private String code = EnumCode.E1000.getDescription();

	public void setCode(String code) {
		this.code = code;
	}

	private String msg;

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getCode() {
		return code;
	}

	public void setCode(EnumCode code) {
		if (code != null) {
			this.code = code.getDescription();
		}
	}
}